tests/pull-sizes: Disable xattrs everywhere
authorColin Walters <walters@verbum.org>
Sun, 5 Apr 2020 18:37:54 +0000 (18:37 +0000)
committerColin Walters <walters@verbum.org>
Sun, 5 Apr 2020 18:38:26 +0000 (18:38 +0000)
I am getting SELinux xattrs committed in local development (inside
https://github.com/cgwalters/coretoolbox ), which
throws off the hardcoded sizes in this test.

tests/test-pull-sizes.sh

index 8ee07cc81e3b12e9b9745267de1320ae61afba3d..1ce0a736336df90cb9b207f48d83e7f78f11b3b5 100755 (executable)
@@ -23,6 +23,8 @@ set -euo pipefail
 
 . $(dirname $0)/libtest.sh
 
+# Committing SELinux attributes throws off the hardcoded sizes below
+export OSTREE_NO_XATTRS=1
 setup_fake_remote_repo1 "archive" "--generate-sizes"
 
 echo '1..3'